  
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Grails Camelot - ${softwareIdea?.about}</title>
    </head>
    <body>
        <g:render template="/globalNav"/>

        <div class="body">
            <h1>${softwareIdea?.about}</h1>
            <g:if test="${flash.message}">
            	<div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                                        
                        <tr class="prop">
                            <td valign="top" class="name">Description:</td>
                            
                            <td valign="top" class="value">${softwareIdea?.description}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">By User:</td>
                            
                            <td valign="top" class="value"><g:render template="/userLink" model="[user:softwareIdea?.byUser]"/></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Comments:</td>
                            
                            <td  valign="top" style="text-align:left;" class="value">
                                <ul>
                                <g:each var="c" in="${softwareIdea?.comments}">
                                    <li><g:link controller="comment" action="show" id="${c.id}">${c}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Created On:</td>
                            
                            <td valign="top" class="value">${softwareIdea.createdOn}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Features:</td>
                            
                            <td  valign="top" style="text-align:left;" class="value">
                                <ul>
                                <g:each var="f" in="${softwareIdea?.features}">
                                    <li><g:link controller="feature" action="show" id="${f.id}">${f}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Implementation Projects:</td>
                            
                            <td  valign="top" style="text-align:left;" class="value">
                                <ul>
                                <g:each var="i" in="${softwareIdea?.implementationProjects}">
                                    <li><g:link controller="existingProject" action="show" id="${i.id}">${i}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                                        
                        <tr class="prop">
                              <td valign="top" class="name">Tags:
                                    <g:each var="tag" in="${softwareIdea?.tags}">
                                        <g:link controller="softwareIdea" action="searchByTagForUser" params="['user':softwareIdea?.byUser.id,tagName:tag.name]">${tag.name}</br></g:link></g:each></td>
                        </tr>
                    
                    </tbody>
                </table>
        </div>
    </body>
</html>
